#coding=utf-8
import logging
from google.appengine.ext.webapp.util import run_wsgi_app
from google.appengine.ext import webapp
from Weibo.WeiboManage import WeiboMsg, WeiboSubMsg, PubWeiboMsg,WeiboCheck

__author__ = 'WangJian'

application = webapp.WSGIApplication([
  ('/WeiboMsg',WeiboMsg ),
  ('/WeiboSubMsg',WeiboSubMsg ),
  ('/WeiboPubMsg',PubWeiboMsg ),
  ('/WeiboCheck',WeiboCheck),
], debug=True)


def main():
    run_wsgi_app(application)


if __name__ == '__main__':
    try:
        main()
    except Exception,e:
        logging.error(str(e))
  